Repository navigation
fix(screening): production pass, round 2 - #1620
Conversation
…ne sentence for one fact - The audit settles a paper on its votes under the screening's rule, models as advice included, and counts a reviewer's papers without those that left with a removed source: run on the walkers' screenings after round 1, it flagged only these. - What a model is not given, and the workspace's balance, are said on the Overview as Settings and the form say them.
…hange only answers, and a full workspace never stops settling - A paper that keeps its result through a change of settings has its votes read as they were counted: a model's vote isn't worked out again under criteria the paper wasn't settled under, so its record, counts and agreement stand. - Answers joining a cast vote change only the answers and the reason that rested on them: a decision or note saved in another tab meanwhile stands. - A workspace with no room for another collection still has its papers settled: they are kept in the screening, the Overview says why they aren't saved to the new collection, and choosing another destination clears it.
…creening): merged papers keep their aliases, moves keep reviewers voting, a reopened check reads anew - Counts narrowed two ways (a reviewer with a source, a check or a reason, and a source, a check and a reason with each other) are a few counted reads, kept as papers and votes change, like counts narrowed one way. Only three narrowings at once read cards. The audit checks the new counts. - A paper merged on its title takes the DOI it lacked, and a record merged into it finds it again by its own key: a later record with either is the same paper, whatever title it comes with. - A screening moves only where the plan takes as many papers as it holds, and a reviewer outside the workspace it goes to who could only look at it can vote. - A check reopened reads as a run of its own: a reader still out from before it ended writes nothing and fails nothing.
… changes Every render of the frame made a new screening object, so each page under it, the header's faces included, rendered again on every tick of the counts while models read. It is now made once for each read of the screening, its actions calling the latest mutations.
… re-score them - A change to a criterion's words, guidance or name no longer settles every paper again: only a change of points or stars re-scores the settled papers, and it does so with or without a change of what decides a paper, so no settled paper keeps the old scale. - Adding a source, taking one out or changing its range no longer holds the settled papers or reads every paper in the save's preview: their papers come and go on their own.
- A search whose abstracts are looked up at Crossref or DataCite is never stopped by one lookup that goes unanswered: those papers come as they are, as before. Only a list of pasted DOIs, whose records the registries are, stops and is read again when they don't answer. - While "another reason" is written, keys are letters of it wherever the focus is: a key typed before the field had the focus no longer casts a vote or steps on, and goes into the field. - With every criterion answered, Y, N and U change the one a key answered last. - The papers file gives what was written for another reason. The whole record's history says the models' votes were advice where the rule made them so. A file's name keeps a title in any script. A reason too long for its row is cut, never run past the drawer's edge.
…el votes empty where no model screened, and menu counts hide where another filter narrows them
…end, not refused after
…y counts fit one read, and the compiler keeps the open screening - A screening takes up to 45 reviewers: under "everyone votes" a paper's 990 pairs of voters are all read, kept and shown, where 200 made 19,900, past what one step of settling may read. - A count narrowed three ways with a reviewer reads up to 1,500 of their votes whole, which fit what one query reads; a search page reads 100 papers at a time. - The open screening is left to the React Compiler, which memoizes it: the hand memo made the compiler skip the hook. - One tally each for a reviewer's papers and a screening's, narrowed or not. - The audit settles a paper with each vote's reviewer kind, as the screening does.
- A guest made one who only looks stays one when the screening moves. - Answers added to a cast vote rescore it without letting go of a result held through a change of settings, and answers to a vote taken back in another tab cast nothing. - A second reader of a source, set off by the watch, takes nothing in once the first has moved the source on, so no page is skipped. - Papers included while the workspace had no room for the collection are saved to it once it is made. - A paper kept by another source when its own is taken out is that source's record from then on: a later record under its key is the same paper. - The whole record's history says models' votes as the models on the screening while each version stood. - The failed-reading filter stays offered under a source filter; Tab moves out of the reason being written; file names keep combining marks.
- The Methods paragraph says how many records were excluded with those included and left at Maybe. - A reviewer's agreement in Reviewers is with the people listed there, as the figure over them and the Agreement section are. - A paper you settled yourself heads your own vote with Your vote, never Settled without your vote. - A model's price a paper is said as about that much: it is paid for what it reads.
…e on with each part
… takes to count fifty thousand places three ways
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2002dd77ad
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…the collection still goes back to the collection it was taken out of The Convex rules list the cap a three-way count reads a reviewer's votes up to.
Round 2 of getting the screening ready for production: what seven walkers, four council reviewers, two visual reviewers, a duplication reviewer and the cross-family review found on dev after #1619.
Data kept and shown right
Fast at scale
useOpenScreeningis back to plain code, which the React Compiler memoizes. The hand memo made the compiler skip the hook.Screens
Checks
npx tsc --noEmitis clean.npm run check:convex-rulesis clean.convex/screening,convex/sharing,lib/screening,components/screeningand the message tests all pass (383).convex/limits/maxSizeScreening.test.ts) all pass. That includes a new one where 45 reviewers all vote on the same papers and all 990 agreement pairs are kept. The 5,000-paper setup takes 33 minutes in convex-test, so its timeout is now an hour.After the merge, the facets backfill is rerun (
migrations/screeningFacets:runwithreset), so screenings from before this PR get their two-way counts.